import generateApiFn from '../generateApiFn'
const _module = '/approve'
const commonOption = {}
// 审批设置
const apiUrlObj = {
  getPageList: commonOption, // 新建审批流分支
  getLinkStatus: commonOption, // 获取审批进度信息
  submit: commonOption, // 提交审批
  agree: commonOption, // 审批通过
  refuse: commonOption, // 审批驳回
  cancel: commonOption, // 撤销审批
  getLogList: commonOption, // 获取审批记录
  checkApprove: commonOption // 提交审批前检测
}

const approveProcessApis = generateApiFn(_module, apiUrlObj)
export default approveProcessApis
